import request from '@/utils/request/index.js'
// 用户邀约成功列表
export function GetInviteSuccessList(data) {
	return request.request({
		url: '/api/v1/user/lower/list',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}

// 用户邀约列表查看
export function GetInviteList(data) {
	return request.request({
		url: '/api/v1/user/todo/list',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}

//用户邀约转换成用户绑定
export function InviteNewMumber(data) {
	return request.request({
		url: '/api/v1/user/lower/add',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}

// 邀请人收益
export function InviteProfit(data) {
	return request.request({
		url: '/api/v1/user/profit',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}

// 卡片详情
export function CardCodeDetail(data) {
	return request.request({
		url: '/api/user/v1/card/detail',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}

// 核销卡片
export function VerifyCardCode(data) {
	return request.request({
		url: '/api/user/v1/card/verify',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}



// 代金券
export function storeCoupon(data) {
	return request.request({
		url: '/api/store/v1/coupon',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}


// 账户密码激活
export function cardPassCheck(data) {
	return request.request({
		url: '/api/user/v1/card/passCheck',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}

// 确认激活
export function cardVerify(data) {
	return request.request({
		url: '/api/user/v1/card/verify',
		method: 'POST',
		data: data,
		authType: 'None'
	})
}